package com.lagou.homework02;

public class ToStringTestTest {
    public static void main(String[] args) {
        int[] arr1 = null;
        //定义一个数组为空，调用方法输出应为"null"
        System.out.println(ToStringTest.toStringTest(arr1));

        int[] arr2 = {};
        //定义一个数组长度为0，调用方法输出应为"[]"
        System.out.println(ToStringTest.toStringTest(arr2));

        int[] arr3 = {1,2,3,4,5};
        //定义一个数组为{1,2,3,4,5}，调用方法输出应为"[1,2,3,4,5]"
        System.out.println(ToStringTest.toStringTest(arr3));

    }
}
